package uminio

import (
	"context"
	"github.com/minio/minio-go/v7"
)

// 创建文件夹
func (c *Client) MakeBucket(ctx context.Context, bucketName string, options *minio.MakeBucketOptions) error {
	if options == nil {
		options = &minio.MakeBucketOptions{}
	}
	return c.minioClient.MakeBucket(ctx, bucketName, *options)
}
